<script setup lang="ts">
defineProps(['title','subTitle','list'])
</script>

<template>
    <div class="content">
        <p>{{ title||'' }} <u>{{ subTitle||'' }}</u></p>
        <slot></slot>
    </div>
</template>

<style scoped>
.content{
    width:70%;
    margin:40px auto;
}
.content p{
    font-size: 30px;
}
.content p u{
    margin-left: 10px;
    font-size: 20px;
}
</style>
